using Bee.Base.Abstractions.Navigation;
using Bee.Base.Models.Navigation;
using Bee.ViewModels.Images;
using Bee.ViewModels.Voices;

namespace Bee.Services.Impl.Navigation.Commands;

/// <summary>
/// 海报生成器导航命令
/// </summary>
public class PosterGeneratorNavigationCommand : INavigationCommand
{
    public string Key { get; } = "PosterGenerator";
    public void Execute(NavigationCommandContext context)
    {
        // 调用视图导航器设置当前页面
        context.Navigator.SetCurrentPage(new PosterGeneratorViewModel());
    }
}